package org.dong.service.Impl;

import org.dong.mapper.SubjectMapper;
import org.dong.service.SubjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SubjectServiceImpl implements SubjectService {

    @Resource
    SubjectMapper subjectMapper;
    @Override
    public String getSubjectName(int id) {
        return subjectMapper.getSubjectName(id);
    }
}
